<div class="dashbox">
  <h3><span title="<%= metric('random').description -%>"></span></h3>
  <p>
    <span class="big">
      <%= format_measure('random') -%> <%= tendency_icon(measure('random')) %>
    </span>
  </p>
  <p><%= format_measure('message') -%></p>
  <p>
    <%= format_measure('ncloc', :suffix => ' lines', :url => url_for_drilldown('ncloc')) -%>
  </p>
</div>
<div class="dashbox">
	<h3>Help</h3>
	  <p>
      Read configuration : <%= configuration('sonar.jdbc.username') -%>
    </p>

   	<p>
	    Sample of Jfree Eastwood chart : <br/>
		<%= gchart('cht=bhs&chco=FF0000,00FF00,0000FF&chs=200x125&chd=s:FOE,THE,Bar&chxt=x,y&chxl=1:|Dec|Nov|Oct|0:||20K||60K||100K|') -%>
	  </p>
	<p>
		Widget properties:
		<table>
		  <tr>
		    <td>max:</td>
		    <td><%= widget_properties['max'] -%></td>	
		  </tr>	
		<tr>
		    <td>param1:</td>
		    <td><%= widget_properties['param1'] -%></td>	
		  </tr>
		<tr>
		    <td>param2:</td>
		    <td><%= widget_properties['param2'] -%></td>	
		  </tr>
		</table>
	</p>
</div>
